package com.ruoyi.project.module.byduser.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 用户表 byduser
 * 
 * @author ruoyi
 * @date 2018-11-13
 */
public class Byduser extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 主键ID */
	@Excel(name = "用户ID")
	private Integer id;
	/** 账号 */
	@Excel(name = "账号")
	private String login;
	/** 密码 */
	@Excel(name = "密码")
	private String password;
	/** 真实姓名 */
	@Excel(name = "真实姓名")
	private String name;
	/** 身份证 */
	@Excel(name = "身份证")
	private String identity;
	/** 用户邮箱 */
	@Excel(name = "用户邮箱")
	private String email;
	/** 手机号码 */
	@Excel(name = "手机号码")
	private String phonenumber;
	/** 用户性别（0男 1女 2未知） */
	@Excel(name = "用户性别")
	private String sex;
	/** 帐号状态（0正常 1停用） */
	@Excel(name = "账号状态")
	private String status;
	/** 最后登陆时间 */
	@Excel(name = "最后登录时间")
	private Date loginDate;
	/** 创建时间 */
	@Excel(name = "创建时间")
	private Date createTime;
	/** 更新时间 */
	@Excel(name = "更新时间")
	private Date updateTime;
	/** 备注 */
	@Excel(name = "备注")
	private String remark;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setLogin(String login) 
	{
		this.login = login;
	}

	public String getLogin() 
	{
		return login;
	}
	public void setPassword(String password) 
	{
		this.password = password;
	}

	public String getPassword() 
	{
		return password;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setIdentity(String identity) 
	{
		this.identity = identity;
	}

	public String getIdentity() 
	{
		return identity;
	}
	public void setEmail(String email) 
	{
		this.email = email;
	}

	public String getEmail() 
	{
		return email;
	}
	public void setPhonenumber(String phonenumber) 
	{
		this.phonenumber = phonenumber;
	}

	public String getPhonenumber() 
	{
		return phonenumber;
	}
	public void setSex(String sex) 
	{
		this.sex = sex;
	}

	public String getSex() 
	{
		return sex;
	}
	public void setStatus(String status) 
	{
		this.status = status;
	}

	public String getStatus() 
	{
		return status;
	}
	public void setLoginDate(Date loginDate) 
	{
		this.loginDate = loginDate;
	}

	public Date getLoginDate() 
	{
		return loginDate;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}
	public void setUpdateTime(Date updateTime) 
	{
		this.updateTime = updateTime;
	}

	public Date getUpdateTime() 
	{
		return updateTime;
	}
	public void setRemark(String remark) 
	{
		this.remark = remark;
	}

	public String getRemark() 
	{
		return remark;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("login", getLogin())
            .append("password", getPassword())
            .append("name", getName())
            .append("identity", getIdentity())
            .append("email", getEmail())
            .append("phonenumber", getPhonenumber())
            .append("sex", getSex())
            .append("status", getStatus())
            .append("loginDate", getLoginDate())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
